<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安装</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imap.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imap.configuration.html">运行时配置</a></div>
 <div class="up"><a href="imap.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="imap.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  To get these functions to work, you have to compile PHP with
  <strong class="option configure">--with-imap[=DIR]</strong>
, where DIR is the
  c-client install prefix.  From our example above, you would use 
  <strong class="option configure">--with-imap=/usr/local/imap-2000b</strong>
.
  This location depends on where you created this directory according to the
  description above. <span class="productname">Windows</span> users may include the 
  <var class="filename">php_imap.dll</var> DLL in <var class="filename">php.ini</var>.
 </p>
 <p class="para">
  IMAP is not supported on systems earlier than Windows 2000. This is because it
  uses encryption functions in order to enable SSL connections to the mail
  servers.
 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <span class="simpara">
   Depending on how the c-client was configured, you might also need
   to add <strong class="option configure">--with-imap-ssl=/path/to/openssl/</strong>
 and/or
   <strong class="option configure">--with-kerberos=/path/to/kerberos</strong>

   to the PHP configure line.
  </span>
 </p></blockquote>

 <div class="warning"><strong class="warning">Warning</strong><p class="simpara"><a href="book.imap.html" class="link">IMAP</a>，<a href="book.recode.html" class="link">recode</a>，<a href="book.yaz.html" class="link">YAZ</a> 和 <a href="book.cyrus.html" class="link">Cyrus</a> 扩展不能同时使用，因为它们共享了相同 的内部符号。注意：Yaz
2.0 及以上版本不存在此问题。</p></div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imap.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imap.configuration.html">运行时配置</a></div>
 <div class="up"><a href="imap.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
